/*
 * @Autor: lh
 * @Date: 2023-09-26 14:26:16
 * @LastEditors: lh
 * @LastEditTime: 2023-10-19 17:52:21
 * @Description:
 */
import { request } from "@/utils/service"

/** 分页查询所有数据 */
export function selectAlldesignFile(data: any) {
  return request({
    url: "/designFile/selectAll",
    method: "post",
    data
  })
}

/** 部门负责人分配责任工程师(责任部门文档接口人) */
export function allocationInterfacePerson(data: any) {
  return request({
    url: "/designFileDistribute/allocationInterfacePerson",
    method: "post",
    data
  })
}
/** 责任部门文档接口人接收确认 */
export function interfacePersonDetermine(data: any) {
  return request({
    url: "/designFileDistribute/interfacePersonDetermine",
    method: "post",
    data
  })
}

/** 责任部门文档接口人接收确认 */
export function selectOne(id: any) {
  return request({
    url: `/designFile/selectOne/${id}`,
    method: "get"
  })
}

/** 总监分发部门或者部门文档接口人 */
export function directorDistributionDesignFile(data: any) {
  return request({
    url: `/designFileDistribute/directorDistributionDesignFile`,
    method: "post",
    data
  })
}
